<?php

/**
 * 商户端-商品管理
 * @author chenshubo
 */
namespace app\controller;

use app\base\UserBase;
use Ly\Model\MerchantGoodsList;

class UsergoodsController extends UserBase
{    
    /**
     * 商品列表
     */
    public function userGoodLists()
    {
        $res  = MerchantGoodsList::instance()->getUserGoodLists($this->param);
        return $this->json($res);
    }
    
    /**
     * 商品列表
     */
    public function userGoodExport()
    {
        $res  = MerchantGoodsList::instance()->userGoodExport($this->param);
        return $this->json($res);
    }
    
    
}